package edu.uoc.tdp.pac4.beans;


import edu.uoc.tdp.pac4.common.util.LanguageUtils;

public enum Shift {

	MORNING, AFTERNOON;
	
	
	
	
	 @Override public String toString() {
	   String s = super.toString();
	   
	   if (s == "MORNING") {
		   s = LanguageUtils.getMessage("client.management.reg.morning");
	   }
	   if (s == "AFTERNOON") {
		   s = LanguageUtils.getMessage("client.management.reg.afternoon");
	   }
	   
	   return s;
	   
	 }
	 
	
	
}
